package com.szss.springbootfirst.mapper;

import com.szss.springbootfirst.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper{

    public User login(User user);

    public List<User> findAll();

    public void save(User user);

    public User findById(String id);

}
